package van.planifolia.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import van.planifolia.pojo.MyUser;
import van.planifolia.pojo.Permission;

import java.util.List;

/**
 * @Description: TODO
 * @Author: Van.Planifolia
 * @CreateTime: 2023-01-03  15:35
 * @Version: 1.0
 */
@Mapper
public interface UserMapper extends BaseMapper<MyUser> {
    /**
     * 根据用户的id来查询用户所拥有的权限dao接口
     * @param uid 用户的id
     * @return 查询到的权限信息
     */
     List<Permission> selectPerByUid(Integer uid);
}
